package org.gdpu.service;

import org.gdpu.base.DAO;
import org.gdpu.model.Person;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-6-4
 * Time: 下午12:56
 * To change this template use File | Settings | File Templates.
 */
public interface PersonService extends DAO {

    /**
     * 查找用户
     *
     * @param accout 用户账号
     * @return 用户信息
     */
    Person findPersonByAccout(String accout);

    /**
     * 添加少量学生到分组
     *
     * @param info 学生信息
     * @param team 组别
     * @return 成功返回true，失败则返回false
     */
    public String addStuToTeam(String info, String team);

}
